import request from "@/utils/request";

export function getList(data) {
  return request({
    url: "/message/page",
    method: "post",
    data
  });
}
export function getTypeList(id) {
  return request({
    url: "/message/list/" + id,
    method: "get"
  });
}
export function getNumber(data) {
  return request({
    url: "/message/count",
    method: "get",
    data
  });
}
export function processed(id) {
  return request({
    url: "/message/handle/" + id,
    method: "post"
  });
}
export function nextReminder(data) {
  return request({
    url: "/message",
    method: "put",
    data
  });
}
